﻿/**
 * Title:工作流表单模板文件上传
 */
CKEDITOR.plugins.add('wf-tpl', {
	lang:['zh-cn'],
    requires: ['dialog'],
    init: function(a){
        var b = a.addCommand('wf-tpl', new CKEDITOR.dialogCommand('wf-tpl'));
        a.ui.addButton('wf-tpl', {
            label: a.lang.tpl_tbTip,
            command: 'wf-tpl',
            icon: this.path + 'images/tpl.png'
        });
        CKEDITOR.dialog.add('wf-tpl', this.path + 'dialogs/wf-tpl.js');
    }
});